#include "../Tools/GLHeaders.hpp"
#include "../Global.hpp"
#include "ReshapeFunc.hpp"

void ReSizeGLScene(int width, int height){
  if (height==0)
    height=1;
  window.width =  width;
  window.height = height;  
  glViewport(0, 0, window.width, window.height);
  glMatrixMode(GL_PROJECTION);
  glLoadIdentity();
  gluPerspective(45.0f,(GLfloat)window.width/(GLfloat)window.height,0.1f,100.0f);
  glMatrixMode(GL_MODELVIEW);
}
